﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YunZuan.Models;

namespace Wholesaler.Models.DBModels.Order
{
    public class OrderFrom88giaList<T>
    {   
        public string CustomerName { get; set; }
        public int GoodsType { get; set; } 
        public string Remarks { get; set; }
        public List<T> rows { get; set; } 
    }
    public class OrderList
    {
        public List<InventoryFrom88gia> ListInventory;
        public List<EmeraldFrom88gia> LisEmerald;
        public List<Gem88gia> ListGem;
        public List<InlaySettingsFrom88gia> ListInlaySettings;
        public List<ParcelsFrom88gia> ListParcels;
        public List<PrimeGoldsFrom88gia> ListPrimeGolds;
        public List<RingFrom88gia> ListRing;
    }
    #region 从88gia过来的订单
    public class InventoryFrom88gia : InventoryInfo
    {
        public decimal? BuyUSD { get; set; }
        public decimal? BuyRMB { get; set; }
        public decimal? InventoryCount { get; set; }
        public decimal? SalesExchangerate { get; set; }
    }
    public class EmeraldFrom88gia : Emerald
    {
        public decimal? BuyUSD { get; set; }
        public decimal? BuyRMB { get; set; }
        public decimal? InventoryCount { get; set; }
        public decimal? SalesExchangerate { get; set; }
    }
    public class Gem88gia : Gem
    {
        public decimal? BuyUSD { get; set; }
        public decimal? BuyRMB { get; set; }
        public decimal? InventoryCount { get; set; }
        public decimal? SalesExchangerate { get; set; }
    }
    public class InlaySettingsFrom88gia : InlaySettings
    {
        public decimal? BuyUSD { get; set; }
        public decimal? BuyRMB { get; set; }
        public decimal? InventoryCount { get; set; }
        public decimal? SalesExchangerate { get; set; }
    }
    public class ParcelsFrom88gia : Parcels
    {
        public decimal? BuyUSD { get; set; }
        public decimal? BuyRMB { get; set; }
        public decimal? InventoryCount { get; set; }
        public decimal? SalesExchangerate { get; set; }
    }
    public class PrimeGoldsFrom88gia : PrimeGolds
    {
        public decimal? BuyUSD { get; set; }
        public decimal? BuyRMB { get; set; }
        public decimal? InventoryCount { get; set; }
        public decimal? SalesExchangerate { get; set; }
    }
    public class RingFrom88gia : Ring
    {
        public decimal? BuyUSD { get; set; }
        public decimal? BuyRMB { get; set; }
        public decimal? InventoryCount { get; set; }
        public decimal? SalesExchangerate { get; set; }
    }
    #endregion

}
